<?php

namespace App\Models\PersonInfoManagement;

use App\Models\Api\Files;
use Illuminate\Database\Eloquent\Model;

class TemporaryFile extends Model
{
    protected $table = 'temporary_files';
    protected $fillable = ['temporary_id','file_id'];
    protected $hidden = ['created_at','updated_at'];

    function file()
    {
        return $this->belongsTo(Files::class,'file_id');
    }
}
